 <form  onsubmit="return false;" action="/advert/banner/ajax_add" method="post" class="form-horizontal layui-form padding-top-20 validate-form" >
            <div class="form-group">
                <label class="col-sm-2 control-label label-required">
                    排序值
                </label>
                <div class="col-sm-8">
                    <input name="sort" required="required" title="必须为整数" placeholder="请输入排序值" value="" digits=true class="layui-input required ">
                    <span style="display: inline-block;">&nbsp;</span>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label label-required">
                    名称
                </label>
                <div class="col-sm-8">
                    <input name="name" required="required" title="不为空且长度不超过50" maxlength="50" placeholder="请输入名称" value="" class="layui-input required">
                    <span style="display: inline-block;">&nbsp;</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">
                    banner
                </label>
                <div class="col-sm-8">
                    <img data-tips-image="" style="height:auto;max-height:32px;min-width:32px" src="${system_banner_nopic}">
                    <input type="hidden" name="pic" onchange="$(this).prev('img').attr('src', this.value)" value="${system_banner_nopic!}" class="layui-input">
                    <a class="btn btn-link" data-file="one" data-uptype="local" data-type="ico,png" data-field="pic">上传图片</a>
                    <p class="help-block">请上传合理图片
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">
                    链接地址
                </label>
                <div class="col-sm-8">
                    <input name="url" title="不为空" placeholder="请输入链接地址" value="" class="layui-input required">
                    <span style="display: inline-block;">&nbsp;</span>
                </div>
            </div>
             <div class="form-group">
                 <label class="col-sm-2 control-label">
                     状态
                 </label>
                 <div class="col-sm-8">
                         <input type="radio" value="0"  name="isShow" style="display: inline">显示
                         <input type="radio" value="1"  name="isShow" style="display: inline">隐藏
                 </div>
             </div>
            <div class="col-sm-4 col-sm-offset-2">
                <div class="layui-form-item text-center">
                    <button class="layui-btn" type="submit">保存配置</button>
                </div>
            </div>
        </form>